math/big.Float.exp (field)
58 uses
math/big (current package)
float.go#L72: exp int32
float.go#L271: exp = int(x.exp)
float.go#L276: mant.exp = 0
float.go#L298: z.exp = int32(exp)
float.go#L328: z.setExpAndRound(int64(z.exp)+int64(exp), 0)
float.go#L354: if x.exp <= 0 {
float.go#L358: return x.prec <= uint32(x.exp) || x.MinPrec() <= uint(x.exp) // not enough bits for fractional mantissa
float.go#L484: if z.exp >= MaxExp {
float.go#L489: z.exp++
float.go#L521: z.exp = int32(64 - s) // always fits
float.go#L572: z.exp = int32(exp) // always fits
float.go#L662: z.exp = x.exp
float.go#L688: z.exp = x.exp
float.go#L750: if x.exp <= 0 {
float.go#L755: if x.exp <= 64 {
float.go#L757: u := msb64(x.mant) >> (64 - uint32(x.exp))
float.go#L793: if x.exp <= 0 {
float.go#L800: if x.exp <= 63 {
float.go#L802: i := int64(msb64(x.mant) >> (64 - uint32(x.exp)))
float.go#L806: if x.MinPrec() <= uint(x.exp) {
float.go#L813: if x.exp == 64 && x.MinPrec() == 1 {
float.go#L859: e := x.exp - 1 // exponent for normal mantissa m with 1.0 <= m < 2.0
float.go#L900: e = r.exp - 1
float.go#L979: e := x.exp - 1 // exponent for normal mantissa m with 1.0 <= m < 2.0
float.go#L1020: e = r.exp - 1
float.go#L1093: if x.exp <= 0 {
float.go#L1102: exp := uint(x.exp)
float.go#L1152: case x.exp > allBits:
float.go#L1153: z.a.abs = z.a.abs.shl(x.mant, uint(x.exp-allBits))
float.go#L1160: case x.exp < allBits:
float.go#L1163: z.b.abs = t.shl(t, uint(allBits-x.exp))
float.go#L1227: ex := int64(x.exp) - int64(len(x.mant))*_W
float.go#L1228: ey := int64(y.exp) - int64(len(y.mant))*_W
float.go#L1274: ex := int64(x.exp) - int64(len(x.mant))*_W
float.go#L1275: ey := int64(y.exp) - int64(len(y.mant))*_W
float.go#L1328: e := int64(x.exp) + int64(y.exp)
float.go#L1368: e := int64(x.exp) - int64(y.exp) - int64(d-len(z.mant))*_W
float.go#L1391: case x.exp < y.exp:
float.go#L1393: case x.exp > y.exp:
floatconv.go#L126: z.exp = int32(exp2)
floatmarsh.go#L54: byteorder.BePutUint32(buf[6:], uint32(x.exp))
floatmarsh.go#L93: z.exp = int32(byteorder.BeUint32(buf[6:]))
ftoa.go#L96: d.init(x.mant, int(x.exp)-x.mant.bitLen())
ftoa.go#L187: exp := int(x.exp) - mant.bitLen()
ftoa.go#L339: e := int64(x.exp) - int64(x.prec)
ftoa.go#L387: exp64 := int64(x.exp) - 1 // avoid wrap-around
ftoa.go#L441: if x.exp >= 0 {
ftoa.go#L444: return strconv.AppendInt(buf, int64(x.exp), 10)
sqrt.go#L70: z.exp++
sqrt.go#L72: z.exp--
sqrt.go#L106: u.exp-- // = ½t(3 - xt²)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |